package com.zhu.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

import com.zhu.domain.enums.PropTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author JoyBoy
 * @since 2022-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@TableName(value = "table_column")
public class TableColumn extends Model<TableColumn> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "prop_id", type = IdType.AUTO)
    private Integer propId;

    private PropTypeEnum propType;

    private String prop;

    private String propName;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean deleted;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
